package org.zfes.snowier.cloud.zbss.cms.content.dao;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.cms.content.model.CmsContentCount;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CmsContentCountMapper extends BaseMapper<CmsContentCount>{
	
	Long selectListCount(ParamMap params);
	List<Record> selectMapListPage(ParamMap params);
	List<CmsContentCount> selectModelListPage(ParamMap params);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);
	int updateStatusByContentId(@Param("contentId")Long contentId, @Param("status")Byte status);
}
